package org.jeecg.modules.demo.baseordercommodity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 自提商品表
 * @Author: jeecg-boot
 * @Date: 2022-02-11
 * @Version: V1.0
 */
@Data
@TableName("self_mention_commodity")

@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "self_mention_commodity对象", description = "自提商品表")
public class SelfMentionCommodity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 商品名称
     */
    @Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String commodityName;
    /**
     * 商品单价
     */
    @Excel(name = "商品单价", width = 15)
    @ApiModelProperty(value = "商品单价")
    private String commodityPrice;
    /**
     * 商品数量
     */
    @Excel(name = "商品数量", width = 15)
    @ApiModelProperty(value = "商品数量")
    private String commodityQty;
    /**
     * 优惠金额
     */
    @Excel(name = "优惠金额", width = 15)
    @ApiModelProperty(value = "优惠金额")
    private String preferAmount;
    /**
     * 实付金额
     */
    @Excel(name = "实付金额", width = 15)
    @ApiModelProperty(value = "实付金额")
    private String actualAmount;
    /**
     * 会员姓名
     */
    @Excel(name = "会员姓名", width = 15)
    @ApiModelProperty(value = "会员姓名")
    private String memberName;
    /**
     * 手机号
     */
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String memberPhone;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "自提时间")
    private Date selfmentionTime;
    /**
     * 订单状态
     */
    @Excel(name = "订单状态", width = 15)
    @ApiModelProperty(value = "订单状态")
    private String status;
}
